package com.demo.po;

import java.util.Date;
import java.util.List;

public class Orders {
    private Integer id;
    
    private Integer userId;
    
    private String number;
    
    private Date createtime;
    
    private String note;
    
    //订单明细集合
    private List<Orderdetail> detailList;
    
    @Override
    public String toString() {
        return "Orders{" +
                "id=" + id +
                ", userId=" + userId +
                ", number='" + number + '\'' +
                ", createtime=" + createtime +
                ", note='" + note + '\'' +
                ", detailList=" + detailList +
                '}';
    }
    
    public Integer getId() {
        return id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    public Integer getUserId() {
        return userId;
    }
    
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    
    public String getNumber() {
        return number;
    }
    
    public void setNumber(String number) {
        this.number = number;
    }
    
    public Date getCreatetime() {
        return createtime;
    }
    
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
    
    public String getNote() {
        return note;
    }
    
    public void setNote(String note) {
        this.note = note;
    }
    
    public List<Orderdetail> getDetailList() {
        return detailList;
    }
    
    public void setDetailList(List<Orderdetail> detailList) {
        this.detailList = detailList;
    }
}